minor fixes for output path