fixed search to take either kw or location, fixed location trunc bug