use global scope if we didn't find one
references