Fix variable name in upload
Merge pull request #545 from vitornp/master

Fix variable name in upload