fixed globals.h warnings