texture fix plus index buffer cardinality length fix