couple of fixes in the admin