fix adapter interface