fix some bug for the vertex raster