apply patch to fix some switch user crashes