fix check pair