fixed home page queries