Fixed a bug with --yes