fix the bug of filemanager