Clear errors before each transformation