add data error processing