. "what is your adbvice to fix that? rewriting the function / adding a filter as a kind of plugin?" . . .