changed local search to case insensitive