fixed issue with wrong key
fixed spelling issue in keys within dicts