Fix GA code