Fixed a minor loading bug