handle closepath + relative better