add print device name in set_device call