fix find query