deal with dry-run