fix null from c# to f#