clean up html on layout