Layouts cleaning