Fix SYMGS.

Use tmp vector to avoid race. Not ideal, but seems to work.