fix tr issue