deleting the history