Fix initialized flag