add compat_misc