Fix crash issue at API level8