fixing samples glitches