Fix error in previous 2d read patch