clearhistory fix