fixed dict.py, print exception upon module loading err