stack fixed a bug