This should fix all or most of the html structure errors