Changes to repair html