fixed bug with default out path