Fix filemanager errors