fixed restart_server