fixed wrong grid-width display when opening the settings.