fixed that all query words beside the first one were ignored