remove dirty from print