fix a few minor bugs with new cloudstack models

I've fixed a few small bugs with the new cloudstack models that I added recently