fixes main page