change splash and code optimization