Update parselib.py

Changing some lines in the base.