fix admin interface bugs