unicode str compare in 2.6 fix