error handler of internal tagging.