fix stacking issue