fix ga code