added a restart if the data is not working anymore