fixed a bug in an map index call (wrong parameter position)