fixed jointOrigin issue