fixing some bugs with wrong state of reader model