Fixed loading setting bug.