fix UploadAction validation