fix optimize history
Merge branch 'master' of https://github.com/GiggleLiu/lala