Fixed issue with read_data_block