Bugs fixes

1.add array initial in the struct
2.correct typo