modify redirect