fixed a minor bug in ToUpper