Restored missed dnet_state_clean