fix issue: if scope.model is array then value cannot update correctly