Page loading fix