fixing minor bug in admin panel