less debug more hook handler