fixed bug that redirected admins to a blank page after profile update