fixed analytic bug
fixed analytic bug