Fixed crashed due to loading