modify the global layout