fix do_read_cb -- type: ptr not buf