fixed bug that was preventing from startign the server