Remove path ref in output