Revert "fix crash"

This reverts commit 087e61dbcadc8c545bc3035b0e0840fa0a3b870a.