fix a unit test pop error