set redirect hook