Syntax error prevented GA working