move delete_mode setting