fix crash because of wrong fragment created on startup