bug fixes in servergame.js