cleanup markup in index