Fixed some duplicate id errors and a repeated ending tag.