Fixed minor warning with global on config