fix typo
add hook sample