fix subnet issue