fix SWAP stack underflow #47