change hook to unregister widgets
small inline doc