fixed the app crash bug on non rooted devices