hotfix: error in creating adapter