Update GA code fixed #3