index switched back