reset history after finish