add option constrain