fixed crash when change test