fix skeletonState