fix nTube & add prewrite to file tree