fix main page UI