fix bug, clear lua vm stack
better for ssl