cleanup path for wire spec