Fix the initial value for expand/collapse