fix type reset that falsly reset full index