fix bug missing when merge files