simply using the only value present in the mappings dictionary

now works when using aliases and still breaks when using a bad index name like you want.