fixed tth problem