fix crash from home screen