Resolve vertices write issue