corrections plus retain compatiblity with original unique constraint syntax