fix missing error msg when no suitable device is found