add missing hook