Fixed error in dryrun