trimhistory problems