Fixed the toLogString
Fixed the toLogString