Fixed bug when the same device is requested several times