fixed some file system issues.