use correct adapter methods
Merge pull request #855 from tchak/adapter-methods

use correct adapter methods