reenabled duplication checks in database