bugfix for security groups in spot instances