fixed glitch and fixed timing glitch