fixed the main screen display