fixed resume game bug