key conflict detection