Fixed bug with uploading single file