Fixed issue with read