read.data small fix