Fix security groups