fix structure bug