Fix bug caused by case sensitivity