fix(model): fix issue in model pane where the first element of array models is undefined