fix hasUnsavedChanges for now