fix replaying and draw game