Fix constrains