set the prefer global flag