changing index to be a real link