bug fix - restoring bar length from saved layouts