fixed another bug in validateOverlapping