corrected security group structure and tested with nscale compiler