added hook checker