check minKey