correction of end of div tag