Fix a bug in the stack