removes stacking condition