changed layout type