Fixed a proper clear history