fix redirect index