bug fix for TB data conversions