implied globals fix