remove unecessary fields and remove addtransport(echo) used for tests