minor bug fix to read.tidy()