bug fix for dry-run mode