small python 3 compliance  change