fixed py32,33 issues