fix t mapping