wrong dict access

Signed-off-by: Jason Kuster <unexpectedapocalypse@gmail.com>