fixed bug when uploading directly
Merge pull request #12 from bagger/bugfixed-branch

fixed bug when uploading directly