fixed Bug with stashedChanges