fix bug: when locked environment is loaded first, switching to unlocked environment shows incorrect column widths