Reformat globaly code