fix out-of-bound bug in filemanager
Merge pull request #217 from houqp/houqp-master

fix out-of-bound bug in filemanager