Simplify generated path