fixed getChanges