changed extension on switch index