Fix url bugs in the index