rgba added to vm and null handling