add hook in arg of beforeAction
add hook dataNotFound