fixed firefox upload multiple images bug