Fix initial value sync problem