fixed a bug that caused changEvents to be fired too often