Fixed Id = null  issue in structureplan