fix main page stylings and warnings