fix adapter call