added tostring to register device params