metadata setter now accepts null