small changes in vmap_render