fix GA code