Remove the dirty flag