better error reporting in admin interface