fixed outdata path creation