createUpload validation fix