typo corrected for negative constrains