Fix to unicode problem in 3.2