Fix problems in admin