fix for windows and instancing attribs