fix structure files