now attributes and registry elements can have null value