fix index and link