deal with constraint violations/concurrency