fixed

there was a bug in history system