bug fixes

- graph time errors fixed
- Disconnection error fixed