fix the equation of robustness calculation