fix adapter