preserve dir to make index listing work