front-page query fix