fix bug for google analytic