fix clear records