added lf-foldable + minor fixes