fixed bug in glitch with zero delay time