make key comparison not case sensitive