fix generated file tree