fixed home page bug