Fix subnet creation problem

Change-Id: I6868f7ab782160ee6a400482c13b53193e2809f2