cleanup of layout html