updated adapter.py to clear missing attributes error