fix
dirty flags