fix for tr