removing the div from the outer loop.