Fixed small bug with upercase characters