switch to numeric thread ids