redid map enumeration to avoid empty holes in html