fixed indexes for keys, pots and dyno