some small changes to empty stack class