for python2
accurate search can now be used with python2