Moved the hook invoke