Fixed bug for UpperCase and LowerCase