Your heat mat should never be inside the enclosure, I'm getting from your post. It should be underneath the enclosure, with the probe sandwiched between the heat mat and the bottom of the enclosure. You don't need to cover the heat mat at all.
I keep the substrate very thin so that the hot spot is more accurate to monitor while still being in a safe temp range against the bottom of the tank.