Fixed problem with Char.ToUpper and Char.ToLower