Fix serverside crashes.