Fix reader reset bug