fixed a bug where sometimes game would = null and break browsebygame