fix disconnect reason string
code formatting