fix structure type error