fix admin access control error