fix clear history bug