solve #1956: use decorator-specific wrapper/inner_fn