The read function should be fix.