fixed layout bug in admin controller