fixed bug to support python 3