correct layout type