fixed crash

fixed crash