fixed issue of the admin panel