fixed partial search and capitalization