fixed case sensitivity bug