fix adapter check error #41