fixing odd issue with easypg.py