Fix multiple file add issue