deals with overlaping polygon error