fixing splash screen issue