fixed bug in mobile sdk adapters