clear history fix