Added nullable verification before change the fields.