Fix initialized field not being set correctly