format global vars + remove duplicate notification