Fixed possible errors due to case sensitivity