correct use of the_title_attribute
fix duplicate ID attribute