lots of bugfixes that could possibly crash the server