When deploying a composite: "error":"Unsupported version format: undefined"

I imported a model using a streamId and I am trying to deploy it for indexing, then got this error:
:heavy_multiplication_x: HTTP request to ‘http://localhost:7007/api/v0/admin/models’ failed with status ‘Internal Server Error’: {“error”:“Unsupported version format: undefined”}
I have tried to reinstall the current version of @ceramicnetwork/cli and @composedb/cli but still have the issue, any idea how to solve this error

Hi, it’s likely you’re trying to deploy a model created before the beta version of ComposeDB. Please make sure you create or use composites created with v0.4+ of the ComposeDB packages and CLI.