add match overlap check