fixed minor bug in admin