try to realize r_io_mread as expected