fixed dynamic rendering error of creating multiple row divs