Fixing type of globals.