SERIAL send wrong data aftert suplly restart

I have a problem with the serial line … send data to the module on the IoT and after rebooting my power to serial line appear some trash that is sent. There is a need to restart the program somehow communicate? Or Quit?

#include <SoftwareSerial.h>
#include "TD1208.h"
#include <OneWire.h>
#include <DallasTemperature.h>

#define SIGFOXMOD_TX (2)
#define SIGFOXMOD_RX (3)
#define ONE_WIRE_BUS 7


OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);

SoftwareSerial SigFoxSerial(SIGFOXMOD_RX, SIGFOXMOD_TX);
 
TD1208 td1208(&SigFoxSerial);
int  TempInC;
 
void setup()
{	
 
Serial.begin(9600);
sensors.begin();


if (td1208.sendAT())
{
Serial.println("TD1207 OK");
}
else
{
Serial.println("TD1207 KO");
//while (1);
}
}

void loop()
{

sensors.requestTemperatures();
sensors.getTempCByIndex(0); 
TempInC = sensors.getTempCByIndex(0);

float temperatureInCelsius = sensors.getTempCByIndex(0);
  Serial.print("Teplota: ");
  Serial.print(temperatureInCelsius, 0);
  Serial.print(" Celsius, ");

int temperature = 0;
if (td1208.getTemperature(&temperature))

{
		
if (td1208.sendPayload((String)TempInC))
   
{
Serial.println("Poslano");
}
else
{
Serial.println("Neposlano");
}
}
else
{
Serial.println("Temperature KO");
}

while (1);
}