removed not used mainlayout