Fixing case sensitivity bug