search query parse fix