fix bug: the default value {0|1} of dict in python2.6