Fixed issues running server