fixed hook documentation