fixed firefox upload bug
Merge pull request #414 from CalvinFernandez/firefox-fix

fixed firefox upload bug