fix bug that appeared in pokernetwork testcase