minor fix

fixed a minor bug in filemanager