Fixed constraints

Fixed constraints