Fix setting null value