fix chrome multi upload bug

I had an issue with uploading multiple files at once. This fixed the problem.