revert ht device_id to string