fixed game communication with firebase server