fix TR patch