fixed a few crashes in the server log