fixed bug corrupted file system
minor changes