Fix reference to non-existant variable when loading 5 times fails