working on filestructure errors