fixed multiword search problem