fix bug about file map