Check val is array before attrs create in onSet