restore missing dict check