improve logging in Dictionary