fixes potential ext_pillar line mismatches