fixed  error in fetchdbdata.py