Trying to fix server hard crash