tmp fix "An uploaded file must be an array or an instance of UploadedFile"