* fixes #38 cannot remove an object from stack, neather clear the stack