fix 10.1 crash bug