Converted null value before saving to DB