[Bug Fix] proper format returned to client

was putting an extra terminator on the return string