Fixed thread id formatting.