solving splash screen issue