fix unclosed div tags