Fixed connect hook.