Fixing infinite load loop.