simplify paths