some tr fixes