fix homepage from showing up in page loop