minor fix persisting unique device ID