fix a bug which can make the skeleton more statable