fix Syntax Error in Python 3