made rectangle convert to polyline