substituting a bug for an error