removed one dirty line (getting device id)