fixed: reads a record without last \n tag