fix the bug if field value is set to 0 then it will be replaced by field's default value