Fixed variable structure in dataparser.py file as per issue #34