fixed some missing end divs and things
and more