fix missing dict lookup