fix bug on bes-get-files