joint creation fix
tests