If the buckle is sliding it's most likely mounted the wrong way. There are instructions on the strap, the pointy end of the buckle should point towards the tree.
If the strap is sliding on the tree (or other attachment point) - take it off and do two or three laps around the tree. It will creat more friction and lock the strap in place.