Usually with UTH's you put the probe between the heat mat and the enclosure. I may be wrong but this is how I set up my tubs that I use a UTH with. Heat mat - probe - enclosure.
Not sure if this varies with a glass tank set up.
I have mine in glass tanks and I do it the same way.