fix crash server