simplify uppercase and lowercase