fixed a bug with reading data