fixed some bugs in fileManager and account
merge FileManagerCtrl