bug fix:
add_ratio_constraint()
remove_ratio_constraint()