bug fixes

These are the changes I had to make to make the server run on my machine