remove 'hook' references