indices: fix use of _mapping apis