fix on vm s creation through the API