bug: fixed crash bug