and use correct device specifier.