fix changed model table lead to crash bug