fix bug in datas saving and retry on virtuoso failure