Fixed TE unload debug output.
Fixed TE unload debug logging.