Fixed an output issue on timeout
Fixed a formatting error