remove context from path