Simplify path