fixed structure bug