fix mesh format