add folder property
fix various bugs.
Nothing