remove writeToSize from setAttr because of wrong source values