fix cal sync