Went over all the path creation escaping code paths fixes #276