fixed some issue that arise when assets are not unloaded prior to the load call