Fix bug with uppercase