Fixed reset glitch(?)