Resolved write vertices issue