fix type on mistral cmd