fixed some things in admin