Fixing incorrect hook name