fixed bug in admin form