fix crash bug again.