Hack code to allow null as an attribute value