possible fix for hooks related integration test failure