Fixed loading errors.