fix fail on reset()