rewrite registration (add device id)
v1.9.2