Subsection.py Py3.x bug fix

Fix bug on subsection.py in python 3.x env: modify data dictionary
update.