Fixed error in lower and upper case

Fixed error in lower and upper case.