fix a bug about splashscreen