fix array index outofbound error by passing all widgets to client