fix adapter recognization