calc_condition fixed.