adding missing hook register