upload, bugfixes

Signed-off-by: Eduardo Stuart <contato@eduardostuart.com.br>