Fixed each_with_index miss