layout cleaning