fixed problem with getDocs.py