fixing tr issue