fix splash screen bugs