cleans up search terms