fixed invalid field init