fix compatibility with mangle2hooks and mangle5hooks
2 files changed