fix case insensitive issue on search