fix crash build