buffer read+dio write fix again