fixed a bug where rejected devices would install anyway