path independence for convert