Simplify paths