fix case where a point is an entrance and exit