solve afterSave issue