polyline works, selected mode works, but now it cannot remove a line which has only one control points