bug fix: remove_ratio_constraint()