Fixed bug of reader