dirty data handling