tweak to fix logic bug around identifying block labels