solved admin edit error