detect conflicts