fixed bug that stopped the server from starting