fix saving of directories