Fix a bug with upper case