bugfix for goagent.exe