add ingore
add ignore and fix bug in adapter.cpp