fixed a bug with google analytics switcher