fixed repair_data_blocks