fix overlap test