fix minor isadmin bug on edit button