temp check in adapter.js because reasons