globals are now cleaned in layout, snippet and view