change writing initialized state for backward compatibility