validate for python2.7