Minor correction to stacking