modify the crash problem cause by sdk and lib