Bug Fix for sending the output.
Clean up the unused structure.