trim path