fix the get block info