polish cleaning of layout