Apply fixHooks