Fix syntax error on py3