Fix a bug when there are two tempToken with same code