fix bug on ignore_on_delete