Minor fixes to get_block