Help with code prettiness (variable localization with do-end block)

do
    local a = something.something

    do
        local b = a.something

        dostuff(b.something)
        dostuff(b.anotherthing)
    end


    local c = a.anotherthing

    dostuff(c.something) --this is different from dostuff
    dostuff(c.anotherthing) --this is also different from dostuff
end

As you have noticed, this doesn’t look exactly good. This has been a problem in a lot of my scripts and reduce readability greatly. Is there a simple way to make this look cleaner?