fixed attribute saving on null value
fixed attribute saving on null value