Fix bug with case sensitivity