Fixed bug when loading multiple times