Fix prm.index/prm.kind getters

It was a typo