fix lookup_dictionary refs #627