Fixing reserved keyword error and GA undefined error