Fix several bug in multiplayer game