autoDispatch dont work on array sources, so fixed it by just dispatching onAttributeChange
also fixed issues with it showing "undefined" with array sources