fix redirect strategy