fix a few minor bugs with cloudstack models