redirect index to main