echo message clean up