* Fixed bugs in reading