fix adapter bug