Fixed a value issue appeared in Py 2.6.