Fix a minor loading bug