fixed error were server was defined incorrectly