fixed bug from renaming dumpdir to out