bugfix in admin view