fix error of model when list row is null