modify redirect paths