add missing hook assignment