cleanup InlineElementHook