Default layout head and body variables fix