fix dbhook function naming