fix case-insenstive search