removed extra end div tags