fixed a bug that searching in captials didn't work.