fix server no more crash