fixes in reading