Fixed loading message not being cleared.