Fix Syntax error on Python 3