fixed a small issue in loading hair fileS