Fixed a loading bug