fixed bug with failed recovery sending the data after a failier