check for didSave