add advanced.config to set delete_mode,immediate