Btw, reset = true looks like dead code to me, though it was already before too.