fixed a bug with resetChangedLog