check for path when finding device info