Fixed homepage loading issues