fixes loading