- error fix
- restart server logic