Bugfix when create server with security groups

Fix #137