trying to solve screen not showing bug