destroy joint fixes #31 and fixes #35