installer get_hooks fix