fixed loading glitch