Fixed loading error behavior.