update typo in dictionaries, add util to dict.py
add dict log support