fix hook creation by sanitizing the page title
doc cleanup