fixed flxpath cleanup