correct error when devices are not present