modify variable for constraint