Fixed loading bug.