dicionary index was weird