Fix bug where local server starting is broken