fixed double slash in output path