instancing fix