fixed null value for custom value constructors