fix afterSave