removing div fixed loop issue, trying it with the div, but without the class name on the div.