fix the issue that app will exit when dialing if permission is forbidden