fixes error in admin users page