adjust globals