replace VertexAttribute with VertexAttributeArray