fix index in sidebar links