fixing vnet bugs and endpoint create multiple bug