I thought that ``history.clear()`` is not correctly shows, what the method does