Fix loading loop.