fixing some errors when trying to run servers
Merge pull request #6 from nwpan/master

fixing some errors when trying to run servers