fixed a bug in hairmodelnode