constraints fix