fix #2 for admin edit