fixed the path on the output file