fix googleanalytics error