when heresy is detected