Small fix for duplicate tbs variable