correction for security group handling