fix bug: read block in the right way