minor fixes for admin