fix unconstrained case