update read paired, added error part and multiline support