fixed incorrect constaint names