[IMP] auto get the root directory of the lessfly