Update parser.py

Changes fixed.