changed redirect index