fixed an fatal error in admin dashboard