fix joint position loop in basic mode