Fixed problem with shared dictionaries