modify query so better pix