fixed tcoord bug