Minor bug fix to _read