Set tangent at spline point not working!

try using the set tangent at spline point with coordinate mode set to local. it was not working for me. Then i switched to world mode and converted all my calculation to world space by using absolute scale and all, then it worked.