put missing globals back