fix for tr. Behaving much more similar to tr now.