Okay, I've done a little workaround: I've just written a function which gives back the device.

thanks (I love this forums)