fixed home loading bug