Query display fixed