revise output in ratio_theta