some changes in pygmap3.py