fixes to the file manager