Fix the file attachment peding issue