fixes in dlib