fixed public methods in adapter