Correct a bug that prevents value from the primitive to be synced before terminating.