fixes upload command